package com.ymttest.database.sharding.db.ext.model;

import java.util.Date;

public class OrderExtPo {
    /**
     * order_id BIGINT(19) 必填<br>
     * 订单号
     */
    private Long orderId;

    /**
     * user_id BIGINT(19) 必填<br>
     * 用户ID
     */
    private Long userId;

    /**
     * seller_id BIGINT(19) 必填<br>
     * 商家ID
     */
    private Long sellerId;

    /**
     * user_login_id VARCHAR(100)<br>
     * 用户登录Id
     */
    private String userLoginId;

    /**
     * seller_login_id VARCHAR(100)<br>
     * 商家登录ID
     */
    private String sellerLoginId;

    /**
     * post_code VARCHAR(30)<br>
     * 邮编
     */
    private String postCode;
    
    /**
     * user_address VARCHAR(500)<br>
     * 加密收件人地址
     */
    private String userAddress;

    /**
     * user_phone VARCHAR(30)<br>
     * 加密手机号
     */
    private String userPhone;

    /**
     * receiver VARCHAR(50)<br>
     * 收件人
     */
    private String receiver;

    /**
     * leave_word VARCHAR(1000)<br>
     * 留言
     */
    private String leaveWord;

    /**
     * source_platform VARCHAR(30)<br>
     * 来源平台(C2CAPP、WAP、PC)
     */
    private String sourcePlatform;

    /**
     * source_ip VARCHAR(100)<br>
     * 来源IP
     */
    private String sourceIp;

    /**
     * source_terminal VARCHAR(30)<br>
     * 来源终端(Phone、Pad、PC )
     */
    private String sourceTerminal;

    /**
     * operating_system VARCHAR(30)<br>
     * 操作系统(Android、IOS、Windows)
     */
    private String operatingSystem;

    /**
     * device_id VARCHAR(200)<br>
     * 设备号
     */
    private String deviceId;

    /**
     * equipment_id VARCHAR(200)<br>
     * 设备号
     */
    private String equipmentId;

    /**
     * seller_note VARCHAR(500)<br>
     * 买手备注
     */
    private String sellerNote;

    /**
     * seller_note_level INTEGER(10)<br>
     * 买手备注等级
     */
    private Integer sellerNoteLevel;

    /**
     * seller_agent BIT(1)<br>
     * 买手代理账号
     */
    private Boolean sellerAgent;

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 新增时间
     */
    private Date addTime;

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 更新时间
     */
    private Date updateTime;
    
    /**
     * no_refund_after_cancelled BIT(1)<br>
     * 1:代表订单已取消但没有发起用户退款。只有神器订单可能会出现这种情况
     * 
     */
    private Boolean noRefundAfterCancelled;
    
    /**
     * seller_memo varchar(500)<br>
     * 神器订单卖家留言
     * 
     */
    private String sellerMemo;
    
    /**
     * ubuy下单人姓名
     */
    private String userName;
    
    /**
     * ubuy护照
     */
    private String passport;
    
    /**
     * 护照签发地
     */
    private String passportIssuePlace; 
    
    /**
     * 自提买家联系方式
     */
    private String pickupUserPhone;
    
    /**
     * 自提点
     */
    private String pickupName;
    
    /**
     * 自提点详细地址
     */
    private String pickupAddress;
    
    /**
     * 自提点联系方式
     */
    private String pickupPhone;
    
    /**
     * 入境证件类型
     */
    private Integer entryIdType;
    
    /**
     * 入境证件号码
     */
    private String entryIdNo;
    
    /**
     * 入境时间
     */
    private Date entryTime;
    
    /**
     * 入境口岸
     */
    private String entryPort;
    
    /**
     * 交通方式
     */
    private String transportation;
    
    /**
     * 是否海关风控
     */
    private Boolean customsRisk;
    
    /**
     * 海关风控原因
     */
    private String customsRiskRemark;

    /**
     * order_id BIGINT(19) 必填<br>
     * 获得 订单号
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 设置 订单号
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * user_id BIGINT(19) 必填<br>
     * 获得 用户ID
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * user_id BIGINT(19) 必填<br>
     * 设置 用户ID
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * seller_id BIGINT(19) 必填<br>
     * 获得 商家ID
     */
    public Long getSellerId() {
        return sellerId;
    }

    /**
     * seller_id BIGINT(19) 必填<br>
     * 设置 商家ID
     */
    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    /**
     * user_login_id VARCHAR(100)<br>
     * 获得 用户登录Id
     */
    public String getUserLoginId() {
        return userLoginId;
    }

    /**
     * user_login_id VARCHAR(100)<br>
     * 设置 用户登录Id
     */
    public void setUserLoginId(String userLoginId) {
        this.userLoginId = userLoginId == null ? null : userLoginId.trim();
    }

    /**
     * seller_login_id VARCHAR(100)<br>
     * 获得 商家登录ID
     */
    public String getSellerLoginId() {
        return sellerLoginId;
    }

    /**
     * seller_login_id VARCHAR(100)<br>
     * 设置 商家登录ID
     */
    public void setSellerLoginId(String sellerLoginId) {
        this.sellerLoginId = sellerLoginId == null ? null : sellerLoginId.trim();
    }

    /**
     * post_code VARCHAR(30)<br>
     * 获得 邮编
     */
    public String getPostCode() {
        return postCode;
    }

    /**
     * post_code VARCHAR(30)<br>
     * 设置 邮编
     */
    public void setPostCode(String postCode) {
        this.postCode = postCode == null ? null : postCode.trim();
    }

    /**
     * receiver VARCHAR(50)<br>
     * 获得 收件人
     */
    public String getReceiver() {
        return receiver;
    }

    /**
     * receiver VARCHAR(50)<br>
     * 设置 收件人
     */
    public void setReceiver(String receiver) {
        this.receiver = receiver == null ? null : receiver.trim();
    }

    /**
     * leave_word VARCHAR(1000)<br>
     * 获得 留言
     */
    public String getLeaveWord() {
        return leaveWord;
    }

    /**
     * leave_word VARCHAR(1000)<br>
     * 设置 留言
     */
    public void setLeaveWord(String leaveWord) {
        this.leaveWord = leaveWord == null ? null : leaveWord.trim();
    }

    /**
     * source_platform VARCHAR(30)<br>
     * 获得 来源平台(C2CAPP、WAP、PC)
     */
    public String getSourcePlatform() {
        return sourcePlatform;
    }

    /**
     * source_platform VARCHAR(30)<br>
     * 设置 来源平台(C2CAPP、WAP、PC)
     */
    public void setSourcePlatform(String sourcePlatform) {
        this.sourcePlatform = sourcePlatform == null ? null : sourcePlatform.trim();
    }

    /**
     * source_ip VARCHAR(100)<br>
     * 获得 来源IP
     */
    public String getSourceIp() {
        return sourceIp;
    }

    /**
     * source_ip VARCHAR(100)<br>
     * 设置 来源IP
     */
    public void setSourceIp(String sourceIp) {
        this.sourceIp = sourceIp == null ? null : sourceIp.trim();
    }

    /**
     * source_terminal VARCHAR(30)<br>
     * 获得 来源终端(Phone、Pad、PC )
     */
    public String getSourceTerminal() {
        return sourceTerminal;
    }

    /**
     * source_terminal VARCHAR(30)<br>
     * 设置 来源终端(Phone、Pad、PC )
     */
    public void setSourceTerminal(String sourceTerminal) {
        this.sourceTerminal = sourceTerminal == null ? null : sourceTerminal.trim();
    }

    /**
     * operating_system VARCHAR(30)<br>
     * 获得 操作系统(Android、IOS、Windows)
     */
    public String getOperatingSystem() {
        return operatingSystem;
    }

    /**
     * operating_system VARCHAR(30)<br>
     * 设置 操作系统(Android、IOS、Windows)
     */
    public void setOperatingSystem(String operatingSystem) {
        this.operatingSystem = operatingSystem == null ? null : operatingSystem.trim();
    }

    /**
     * device_id VARCHAR(200)<br>
     * 获得 设备号
     */
    public String getDeviceId() {
        return deviceId;
    }

    /**
     * device_id VARCHAR(200)<br>
     * 设置 设备号
     */
    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId == null ? null : deviceId.trim();
    }

    /**
     * equipment_id VARCHAR(200)<br>
     * 获得 设备号
     */
    public String getEquipmentId() {
        return equipmentId;
    }

    /**
     * equipment_id VARCHAR(200)<br>
     * 设置 设备号
     */
    public void setEquipmentId(String equipmentId) {
        this.equipmentId = equipmentId == null ? null : equipmentId.trim();
    }

    /**
     * seller_note VARCHAR(500)<br>
     * 获得 买手备注
     */
    public String getSellerNote() {
        return sellerNote;
    }

    /**
     * seller_note VARCHAR(500)<br>
     * 设置 买手备注
     */
    public void setSellerNote(String sellerNote) {
        this.sellerNote = sellerNote == null ? null : sellerNote.trim();
    }

    /**
     * seller_note_level INTEGER(10)<br>
     * 获得 买手备注等级
     */
    public Integer getSellerNoteLevel() {
        return sellerNoteLevel;
    }

    /**
     * seller_note_level INTEGER(10)<br>
     * 设置 买手备注等级
     */
    public void setSellerNoteLevel(Integer sellerNoteLevel) {
        this.sellerNoteLevel = sellerNoteLevel;
    }

    /**
     * seller_agent BIT(1)<br>
     * 获得 买手代理账号
     */
    public Boolean getSellerAgent() {
        return sellerAgent;
    }

    /**
     * seller_agent BIT(1)<br>
     * 设置 买手代理账号
     */
    public void setSellerAgent(Boolean sellerAgent) {
        this.sellerAgent = sellerAgent;
    }

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 获得 新增时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 设置 新增时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 获得 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 设置 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

	public String getUserAddress() {
		return userAddress;
	}

	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public Boolean getNoRefundAfterCancelled() {
		return noRefundAfterCancelled;
	}

	public void setNoRefundAfterCancelled(Boolean noRefundAfterCancelled) {
		this.noRefundAfterCancelled = noRefundAfterCancelled;
	}

	public String getSellerMemo() {
		return sellerMemo;
	}

	public void setSellerMemo(String sellerMemo) {
		this.sellerMemo = sellerMemo;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassport() {
		return passport;
	}

	public void setPassport(String passport) {
		this.passport = passport;
	}

	public String getPassportIssuePlace() {
		return passportIssuePlace;
	}

	public void setPassportIssuePlace(String passportIssuePlace) {
		this.passportIssuePlace = passportIssuePlace;
	}

	public String getPickupUserPhone() {
		return pickupUserPhone;
	}

	public void setPickupUserPhone(String pickupUserPhone) {
		this.pickupUserPhone = pickupUserPhone;
	}

	public String getPickupName() {
		return pickupName;
	}

	public void setPickupName(String pickupName) {
		this.pickupName = pickupName;
	}

	public String getPickupAddress() {
		return pickupAddress;
	}

	public void setPickupAddress(String pickupAddress) {
		this.pickupAddress = pickupAddress;
	}

	public String getPickupPhone() {
		return pickupPhone;
	}

	public void setPickupPhone(String pickupPhone) {
		this.pickupPhone = pickupPhone;
	}

	public Integer getEntryIdType() {
		return entryIdType;
	}

	public void setEntryIdType(Integer entryIdType) {
		this.entryIdType = entryIdType;
	}

	public String getEntryIdNo() {
		return entryIdNo;
	}

	public void setEntryIdNo(String entryIdNo) {
		this.entryIdNo = entryIdNo;
	}

	public Date getEntryTime() {
		return entryTime;
	}

	public void setEntryTime(Date entryTime) {
		this.entryTime = entryTime;
	}

	public String getEntryPort() {
		return entryPort;
	}

	public void setEntryPort(String entryPort) {
		this.entryPort = entryPort;
	}

	public String getTransportation() {
		return transportation;
	}

	public void setTransportation(String transportation) {
		this.transportation = transportation;
	}

	public Boolean getCustomsRisk() {
		return customsRisk;
	}

	public void setCustomsRisk(Boolean customsRisk) {
		this.customsRisk = customsRisk;
	}

	public String getCustomsRiskRemark() {
		return customsRiskRemark;
	}

	public void setCustomsRiskRemark(String customsRiskRemark) {
		this.customsRiskRemark = customsRiskRemark;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orderId=").append(orderId);
        sb.append(", userId=").append(userId);
        sb.append(", sellerId=").append(sellerId);
        sb.append(", userLoginId=").append(userLoginId);
        sb.append(", sellerLoginId=").append(sellerLoginId);
        sb.append(", postCode=").append(postCode);
        sb.append(", userAddress=").append(this.getUserAddress());
        sb.append(", userPhone=").append(this.getUserPhone());
        sb.append(", receiver=").append(receiver);
        sb.append(", leaveWord=").append(leaveWord);
        sb.append(", sourcePlatform=").append(sourcePlatform);
        sb.append(", sourceIp=").append(sourceIp);
        sb.append(", sourceTerminal=").append(sourceTerminal);
        sb.append(", operatingSystem=").append(operatingSystem);
        sb.append(", deviceId=").append(deviceId);
        sb.append(", equipmentId=").append(equipmentId);
        sb.append(", sellerNote=").append(sellerNote);
        sb.append(", sellerNoteLevel=").append(sellerNoteLevel);
        sb.append(", sellerAgent=").append(sellerAgent);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", noRefundAfterCancelled=").append(this.noRefundAfterCancelled);
        sb.append(", sellerMemo=").append(this.sellerMemo);
        sb.append(", userName=").append(this.userName);
        sb.append(", passport=").append(this.passport);
        sb.append(", passportIssuePlace=").append(this.passportIssuePlace);
        sb.append(", pickupAddress=").append(this.pickupAddress);
        sb.append(", pickupName=").append(this.pickupName);
        sb.append(", pickupPhone=").append(this.pickupPhone);
        sb.append(", pickupUserPhone=").append(this.pickupUserPhone);
        sb.append(", entryIdType=").append(this.entryIdType);
        sb.append(", entryIdNo=").append(this.entryIdNo);
        sb.append(", entryTime=").append(this.entryTime);
        sb.append(", entryPort=").append(this.entryPort);
        sb.append(", transportation=").append(this.transportation);
        sb.append(", customsRisk=").append(this.customsRisk);
        sb.append(", customsRiskRemark=").append(this.customsRiskRemark);
        sb.append("]");
        return sb.toString();
    }
}